import Vue from 'vue'
import Vuex from 'vuex'
import user from './user'
import system from './system'
import cache from './cache'

Vue.use(Vuex)

export default new Vuex.Store({
  state: Object.assign(user.info, system.info, cache.info),
  mutations: Object.assign(user.methods, system.methods, cache.methods)
})
